|
DX11 CREATE MESH
Creates a new mesh, corresponding to the provided vertex layout, which has the given number of vertices and
indices. The vertex data is not initialized; you should do this yourself using the vertex data functionality.
Return Dword = DX11 CREATE MESH(vertexCount, indexCount, [vertLayout], [topology])
vertexCount Dword The number of vertices in the created mesh.
indexCount Dword The number of indices in the created mesh.
[Optional] vertLayout Dword The vertex layout that the mesh will use. Will default to a layout of POSITION/COLOR/NORMAL/TEXCOORD, corresponding to the default DBPro FVF 338 if omitted.
[Optional] topology Dword The topology of the primitives that make up the mesh (points, lines, triangles; see the TOPOLOGY_XXX constants in DX11Constants.dba). Defaults to TOPOLOGY_TRIANGLELIST if omitted.
A new, uninitialized mesh having room for the set number of indices and vertices of the given format.
MESH Functions Menu
DX11 Function Categories
|